package com.game.springbootstart.mapper;

import com.game.springbootstart.entity.GamesUrl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-02-21
 */
@Mapper
public interface GamesUrlMapper extends BaseMapper<GamesUrl> {

    @Select("select game_url from game.games_url where game_id = #{id}")
    String startGames(Long id);
}
